package com.syg.SpringMVC._09_SpringMVC_ModelAttribute;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 在执行目标方法前,执行其他业务逻辑[这不就是AOP?]
 */

@Controller
public class ModelAttribute extends ModelAttributeBefore{

    @RequestMapping("/modelAttribute.do")
    public void testModelAttrBefore() {
        System.out.println("@modelAttribute生效了嘛？");
    }
}
